package com.xnyzc.lhy.mis.mapper.config;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xnyzc.lhy.mis.entity.cms.config.OaSysCashWithdrawalConfig;
import com.xnyzc.lhy.mis.entity.cms.config.OaSysSchedulingStrategy;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 调度策略 Mapper 接口
 * </p>
 *
 * @author baoyaze
 * @since 2019-10-23
 */
public interface OaSysSchedulingStrategyMapper extends BaseMapper<OaSysSchedulingStrategy>
{
    List<OaSysCashWithdrawalConfig> queryList(IPage page, @Param("params") Map<String, Object> params);

    void updateStateByParams(@Param("params") Map<String, Object> params);

    void updateStateById(@Param("id") Long id, @Param("state") String state);
}
